<script setup>
import { RouterLink, RouterView } from 'vue-router'

</script>

<template>
    <div id="app">
      <div id="navigate">
        <RouterLink to="/demo">去demo</RouterLink><br>
        <RouterLink to="/hello">去hello</RouterLink>
      </div>
      <div id="main-content">
        <RouterView></RouterView>
      </div>
    </div>

</template>

<style scoped>
#main-content{
    display: inline-block;
}
#navigate{
    display: inline-block;
    width: 300px;
    height: 100%;
}
</style>

